<?php

class Newsletter extends AppModel {

    var $name = 'Newsletter';
    var $validate = array(
        'email' => array(
            'emial' => array(
                'rule' => 'email',
                'message' => 'Email is not correct.'
            ),
            'unique' => array(
                'rule' => 'isUnique',
                'message' => 'Email already subscriber.'
            ),
            'required' => array(
                'rule' => 'notEmpty',
                'message' => 'Please Enter your email.'
            )
        ),
    );

}

?>
